<?php
namespace Api\Controller;
use Think\Controller\RestController;

class BlogController extends RestController {
	public function doPlan(){
		if (IS_POST) {
			//;
		}
	}
	
	public function read(){
		header("Access-Control-Allow-Origin: http://localhost:3000");
		$id = I('get.id');
		$this->response(array('id' => $id, 'content' => 'test content'), 'json');
	}
}